package b面向对象.day3.demo8_多态;

import java.util.Scanner;

public class Test2 {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        Person p=Ghost.getPerson(in.nextInt());
        Ghost.eatPerson(p);
    }
}
